/*
 * hal_debug.h
 *
 *  Created on: 2025 Mar 16
 *      Author: SFLY
 */

#ifndef XTFOCLIB_HAL_DRIVERS_HAL_UART_COMMUNICATOR_H_
#define XTFOCLIB_HAL_DRIVERS_HAL_UART_COMMUNICATOR_H_
#include "bsp_board_config.h"

typedef struct{
char recvCurCmd;  //当前接收到的字符
char cmd_id;
uint8_t char_count;
char recvValueCmd[8];//接收到的数据
}xt_hal_uart_communicator_t;

void Hal_Uart_Communicator_Init(xt_hal_uart_communicator_t *pstc);

#endif /* XTFOCLIB_HAL_DRIVERS_HAL_UART_COMMUNICATOR_H_ */
